	<?php 
		$type = $this->input->post('type') ;
		$key = $this->input->post('key') ;
		$category_id_post = $this->input->post('category_id') ;
		$match_id_post = $this->input->post('match_id') ;
		 
	?>
	
	<?php 
		 
		$currentInfo = $this->feed->getCurrentMatchInfo($type,$key,$match_id_post);
		if($currentInfo){
			$localteam_name = $currentInfo['localteam_name'];
			$visitorteam_name = $currentInfo['visitorteam_name'];
		}
		$lineups = $this->feed->getLineups($type,$key,$match_id_post);
	?>
	<?php if($lineups):?>
		Team: <?php echo $localteam_name; ?> <br />
			<b>Players:</b>
			<table>
				<thead>
					<th>name</th>
					<th>id</th>
				</thead>
				<tbody>
				<?php foreach($lineups['localteam'] as $item):?>
					<tr>
						<td><?php echo $item['name'];?></td>
						<td><?php echo $item['id'];?></td>
					</tr>
				<?php endforeach; ?>	
				</tbody>
			<table>	
		<hr/>
			 
		Team: <?php echo $visitorteam_name; ?> <br />
			<b>Players:</b>
			<table>
				<thead>
					<th>name</th>
					<th>id</th>
				</thead>
				<tbody>
				<?php foreach($lineups['visitorteam'] as $item):?>
					<tr>
						<td><?php echo $item['name'];?></td>
						<td><?php echo $item['id'];?></td>
					</tr>
				<?php endforeach; ?>	
				</tbody>
			<table>		
	<?php endif;?>	
	
 

